package marchsoft.modules.selfFish.pisciculture.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/** 健康监测信息
 * @title 健康监测信息
 * @description 健康监测信息
 * @author Lenovo
 * @version 1.0
 * @create 2024-07-15 15:55
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Health对象", description = "健康监测信息")
@TableName("sys_Health")
public class Health extends Model<Health> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "鱼的名称")
    private String fishName;

    @ApiModelProperty(value = "病情描述")
    private String transparency;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "处理措施")
    private String biologicalContent;

    @ApiModelProperty(value = "发病开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "发病结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "治疗结果（1 治疗中，2 痊愈，3 死亡）")
    private String treatmentOutcome;

    @ApiModelProperty(value = "实物图片存储路径")
    private String url;

    @ApiModelProperty(value = "状态")
    private boolean status;

    @ApiModelProperty(value = "创建人")
    private Long createdUserId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;
}
